#include "buttonsave.h"
#include "editorpanel.h"

const char * ButtonSave::NAME = "Save";
const char * ButtonSave::getName(){return NAME;}

void ButtonSave::execute()
{
	EditorPanel * ep = (EditorPanel*)getContext();
	ep->save();
}